package com.bsoft.gol.hcb.dao;


import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import hcn.base.BasePatientTag;
import org.atag.dao.ext.HibernateExtendDAO;

/**
 * 患者标签数据库访问层
 *
 * @author neoLin - 2022/07/20 10:06
 **/
public abstract class BasePatientTagDAO extends HibernateExtendDAO<BasePatientTag> {

    @DAOMethod(sql = "delete from BasePatientTag where patientId=:patientId and organizationId=:organizationId and tenantId=:tenantId")
    public abstract void deletePatientTag(@DAOParam("patientId") String patientId, @DAOParam("organizationId") String organizationId,
                                          @DAOParam("tenantId") String tenantId);
}
